package com.hziee.graduate.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hziee.graduate.ticket.dto.R;
import com.hziee.graduate.ticket.entity.CinemaMovie;
import com.hziee.graduate.ticket.entity.Movie;

import java.util.List;


public interface CinemaMovieService extends IService<CinemaMovie> {

    R<List<Movie>> getAllMovieByCinema(Long cinemaId);

    R<List<Movie>> getUnJoinMovieByCinema(Long cinemaId);

    R<Object> addCinemaMovie(Long cinemaId, Long movieId, Long userId);

    R<Object> delCinemaMovie(Long cinemaId, Long movieId);
}

